package com.dabbo.starship.shared;

import java.rmi.RemoteException;

import com.dabbo.starship.interfaces.SpaceLocationInterface;

public class SpaceLocation extends java.rmi.server.UnicastRemoteObject implements SpaceLocationInterface {

	private static final long serialVersionUID = -3285697945639938438L;

	private int coY = 0;
	private int coX = 0;

	public SpaceLocation() throws RemoteException {
		super();
	}
		
	@Override
	public void setCoY(int coY) throws RemoteException {
		this.coY = coY;
	}

	@Override
	public int getCoY() throws RemoteException {
		return this.coY;
	}

	@Override
	public void setCoX(int coX) throws RemoteException {
		this.coX = coX;
	}

	@Override
	public int getCoX() throws RemoteException {
		return this.coX;
	}

}
